home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_359 / dice / dice.lzh / doc / dcpp.doc < prev    next >
Text File  |  1990-05-19  |  2KB  |  68 lines

  1.  
  2.                  DCPP.DOC
  3.  
  4.                   C PREPROCESSOR
  5.  
  6.  
  7.                   Matthew Dillon
  8.                   891 Regal Rd.
  9.                   Berkeley, Ca. 94708
  10.                   USA
  11.  
  12.                   uunet.uu.net!overload!dillon
  13.  
  14.  
  15.  
  16.     dcpp sourcefile [-o outfile] [-I includedir ...] <options>
  17.  
  18.     DCPP automatically scans dinclude: and dinclude:amiga/ .  Any -I option
  19.     directories are searched in sequence BEFORE dinclude: or dinclude:amiga.
  20.     Directories specified with -I need not contain a trailing slash.
  21.  
  22.     As with all DCC commands, the space between the option and the file
  23.     arguments for -o and -I is optional.
  24.  
  25.     DCpp probably does not implement everything perfectly and might fail on
  26.     some constructions.
  27.  
  28.     Dcc normally runs Cpp before dc1.
  29.  
  30.                 CPP.DOC
  31.  
  32.     The following symbols are defined by default
  33.  
  34.     mc68000        -running on a 68000
  35.  
  36.     _DCC        -'DCC' compiler
  37.  
  38.  
  39.                Options to CPP
  40.  
  41.     -1.N
  42.         This option selects the OS.  If not specified, CPP searches
  43.         dinclude:amiga for amiga includes.    If specified, CPP searches
  44.         dinclude:amiga1N for amiga includes instead.
  45.  
  46.         DCC supports this option and passes it along to cpp.  This allows
  47.         developers to compile under either 1.3 or 1.4 (or whatever) with
  48.         the flick of an option.  DCC also uses a different amiga.lib
  49.         (see DCC docs)
  50.  
  51.     -d[#]
  52.         This option turns on CPP debugging
  53.  
  54.     -o[ ]file
  55.         This option sets the output file, otherwise stdout is used.
  56.  
  57.     -D[ ]define[=stuff]
  58.         This option predefines a symbol
  59.  
  60.     -I0
  61.         This option causes CPP *NOT* to include any default
  62.         directories in the include search list.
  63.  
  64.     -I[ ]dir
  65.         This option adds the specified directory to the include
  66.         search list.  A hanging slash on the end is not required.
  67.  
  68.